<script type="text/javascript">

    var so = navigator.userAgent;
    if(so.indexOf("iPhone") >= 0 || so.indexOf("Android") >= 0){
        window.location='principal_mobile.php';
    }else{
        window.location='principal.php';
    }

</script>
